from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()

driver.get("https://www.baidu.com")

driver.find_element(By.ID,'kw').send_keys("大家好")

driver.find_element(By.ID,'su').click()